﻿using SBlogCore.Application.Demo.Dto;
using SBlogCore.EventBus.CrossProcessEventBus.Attributes;
using SBlogCore.EventBus.CrossProcessEventBus.Proxy;

namespace SBlogCore.Application.Demo.Event.PubCross
{
    /// <summary>
    /// 
    /// </summary>
    public interface IPubCrossDemoEvent: IEventBusDispatchProxy
    {
        /// <summary>
        /// 测试数据推送
        /// </summary>
        /// <returns></returns>
        [CrossEventHandler("MyFirstCrossEventBus")]
        public Task PublishTest(DemoOutPut outPut,string msg);
    }
}
